package com.mzj.saas.commons.util;

/**
 * 获取表名工具类
 * @author chebnshifan
 *
 */
public class TableNameUtils {
	
	/**
	 * 获取订单表面
	 * @param yearMonth
	 * @return
	 */
	public static String getOrderTableName(String yearMonth) {
		return "t_order_" + yearMonth;
	}
	
	/**
	 * 获取微信支付流水表面
	 * @param yearMonth
	 * @return
	 */
	public static String getOrderPayInfoTableName(String yearMonth) {
		return "t_order_pay_info_" + yearMonth;
	}
	
	/**
	 * 获取支付宝流水表面
	 * @param yearMonth
	 * @return
	 */
	public static String getOrderZfbPayInfoTableName(String yearMonth) {
		return "t_order_zfb_pay_info_" + yearMonth;
	}

}
